<%--
  Created by IntelliJ IDEA.
  User: 26294
  Date: 2024/11/18
  Time: 下午8:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="../css/admin_yuyue.css" />
    <link rel="stylesheet" href="../css/admin_nav.css" />
    <style>
        .main {
            padding: 20px;
            min-width: 1000px; /* 设置最小宽度 */
            overflow-x: auto; /* 内容过宽时显示滚动条 */
        }

        .content_table {
            width: 100%;
            overflow-x: auto;
        }

        table {
            width: 100%;
            min-width: 800px; /* 设置表格最小宽度 */
            table-layout: fixed; /* 固定表格布局 */
        }

        /* 设置各列的宽度 */
        th.select, td:first-child {
            width: 60px;
        }

        th.number, td:nth-child(2) {
            width: 80px;
        }

        /* 操作列 */
        th:last-child, td:last-child {
            width: 120px;
        }


        /* 顶部操作栏固定宽度 */
        .top {
            min-width: 1000px;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .top .search {
            width: 200px;
        }

        .top .batch-delete {
            padding: 5px 15px;
            cursor: pointer;
        }

        /* 分页部分固定位置 */
        .pagination {
            margin-top: 20px;
            text-align: right;
            min-width: 1000px;
        }
    </style>
</head>
<body>
<jsp:include page="admin.jsp" />
<div class="content">
    <jsp:include page="admin_nav.jsp" />
    <div class="main">
        <form action="#">
            <div class="top">
                <input type="search" placeholder="请输入搜索内容" class="search" />
                <input type="button" value="批量删除" class="batch-delete" />
            </div>
            <div class="content_table">
            </div>
            <table>
                <thead>
                <tr>
                    <th class="select"><input type="checkbox" /></th>
                    <th class="number">序号</th>
                    <th>标题</th>
                    <th>内容</th>
                    <th>名称</th>
                    <th>Email</th>
                    <th>手机号</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td><input type="checkbox" /></td>
                    <td>1</td>
                    <td>2222</td>
                    <td>3333</td>
                    <td>3333</td>
                    <td>3333</td>
                    <td>3333</td>
                    <td>
                        <a href="#" class="delete">删除</a>
                    </td>
                </tr>
                </tbody>
            </table>
            <div class="pagination">
                <span>共1条数据</span>
                <input type="number" value="1" min="1" />
            </div>
    </div>
    </form>
</div>
</div>
</body>
</html>
